package com.newly.gateway.service.api;

import org.springframework.web.server.ServerWebExchange;

/**
 * @program: newly-parent
 * @remark: 检测
 * @author: guan
 * @create: 2022-01-27 14:04
 */
public interface ICheckService {
    /**
     * 校验验证码
     *
     * @param exchange 当前请求
     * @return 校验通过返回true
     */
    boolean validateCaptcha(ServerWebExchange exchange);
}
